package moltencore.network.protocol;

import spark.network.Util;
import spark.network.protocol.Base;

public class GameListRequest extends Base{

	public static final short TYPE = 0x15;
	private static final byte[] TYPE_BYTES = Util.makeBytes(TYPE);

	public GameListRequest(){
		super(true, TYPE_BYTES);
	}

	public static GameListRequest create(byte [] buffer, long receiveTime){
		GameListRequest packet = new GameListRequest();
		packet.fill(buffer);
		packet.setTimeStampReceive(receiveTime);
		return packet;
	}

}
